Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top |

Writing Output Data

These functions are used by format-specific graphics exporters to write output data.


GraphicsExportWriteOutputData

Writes output image data.

pascal ComponentResult GraphicsExportWriteOutputData ( GraphicsExportComponent ci,
                                         void *dataPtr,
                                         unsigned long dataSize);
ci
Specifies the component instance that identifies your connection to the graphics exporter component.
dataPtr
A pointer to a memory block containing the data.
dataSize
The number of bytes of image data to write.

GraphicsExportSetOutputMark

Seeks to the specified file position.

pascal ComponentResult GraphicsExportSetOutputMark (GraphicsExportComponent ci,
                                         unsigned long mark);
ci
Specifies the component instance that identifies your connection to the graphics exporter component.
mark
The new file position, specified as a byte offset from the beginning of the output data reference.

GraphicsExportGetOutputMark

Returns the current file position.

pascal ComponentResult GraphicsExportGetOutputMark (GraphicsExportComponent ci,
                                         unsigned long *mark);
ci
Specifies the component instance that identifies your connection to the graphics exporter component.
mark
Receives the current file position, as a byte offset from the beginning of the output data reference.

Not all output data types support this feature.


GraphicsExportReadOutputData

Reads output image data.

pascal ComponentResult GraphicsExportReadOutputData (GraphicsExportComponent ci,
                                         void *dataPtr,
                                         unsigned long dataOffset,
                                         unsigned long dataSize);
ci
Specifies the component instance that identifies your connection to the graphics exporter component.
dataPtr
A pointer to a memory block to receive the data.
dataOffset
The offset of the image data within the data reference. The function begins reading image data from this offset.
dataSize
The number of bytes of image data to read.

Not all output data types support this feature.

dataSize
 

© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top |